package com.bcmusic.user.service;
import com.bcmusic.user.pojo.UserIdentification;
import com.github.pagehelper.PageInfo;
import java.util.List;
/****
 * @Author:admin
 * @Description:UserIdentification业务层接口
 * @Date 2019/6/14 0:16
 *****/
public interface UserIdentificationService {

    /***
     * UserIdentification多条件分页查询
     * @param userIdentification
     * @param page
     * @param size
     * @return
     */
    PageInfo<UserIdentification> findPage(UserIdentification userIdentification, int page, int size);

    /***
     * UserIdentification分页查询
     * @param page
     * @param size
     * @return
     */
    PageInfo<UserIdentification> findPage(int page, int size);

    /***
     * UserIdentification多条件搜索方法
     * @param userIdentification
     * @return
     */
    List<UserIdentification> findList(UserIdentification userIdentification);

    /***
     * 删除UserIdentification
     * @param id
     */
    void delete(Integer id);

    /***
     * 修改UserIdentification数据
     * @param userIdentification
     */
    void update(UserIdentification userIdentification);

    /***
     * 新增UserIdentification
     * @param userIdentification
     */
    UserIdentification add(UserIdentification userIdentification);

    /**
     * 根据ID查询UserIdentification
     * @param id
     * @return
     */
    UserIdentification findById(Long id);

    /***
     * 查询所有UserIdentification
     * @return
     */
    List<UserIdentification> findAll();

    /**
     * 动态更改
     */
    UserIdentification updateSelective(UserIdentification userIdentification);
}
